<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Module::Info - Information about Perl modules - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Module-Info - MetaCPAN" href="https://metacpan.org/dist/Module-Info/releases.rss" />
        <link rel="canonical" href="./Module::Info.html" />
        <meta name="description" content="Information about Perl modules" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Module::Info" />
<meta name="twitter:title"       content="Module::Info" />
<meta name="twitter:description" content="Information about Perl modules" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Module::Info.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Module-Info was released.">
      <span class="relatize">01 Nov 2015 15:33:55 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Module-Info">Module-Info</a>
  </li>
  <li>
    Module version: 0.37
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Module-Info/source/lib/Module/Info.pm">Source</a>
    (<a href="https://metacpan.org/dist/Module-Info/source/lib/Module/Info.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Module-Info/source/lib/Module">Browse</a>
    (<a href="https://metacpan.org/dist/Module-Info/source/lib/Module?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Module-Info/changes">Changes</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Module-Info/contribute">How to Contribute</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Info">Issues</a>
      (5)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Module-Info+0.37" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/M/Module-Info.html?oncpan=1&amp;distmat=1&amp;version=0.37&amp;grade=2" style="color: #090">668</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/M/Module-Info.html?oncpan=1&amp;distmat=1&amp;version=0.37&amp;grade=3" style="color: #900">16</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/M/Module-Info.html?oncpan=1&amp;distmat=1&amp;version=0.37&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/NEILB/Module-Info-0.37">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Module-Info who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 2
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Module-Info-0.37/index.html">84.26% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.6.0
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Module-Info/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Module-Info-0.37.tar.gz">
      Download (<span itemprop="fileSize">41.86KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FNEILB%2FModule-Info-0.37%2Flib%2FModule%2FInfo.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Module-Info/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Module-Info/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Module-Info">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Module-Info">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Module/Info.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="NEILB/Module-Info-0.37"
>0.37
  (NEILB on 2015-11-01)</option>
<option
  
  value="MBARBON/Module-Info-0.35"
>0.35
  (MBARBON on 2013-09-08)</option>
<optgroup label="BackPAN">'
<option
  
  value="NEILB/Module-Info-0.36"
>0.36
  (NEILB on 2015-10-23)</option>
<option
  
  value="NEILB/Module-Info-0.35_07"
>0.35_07 DEV
  (NEILB on 2015-10-19)</option>
<option
  
  value="NEILB/Module-Info-0.35_06"
>0.35_06 DEV
  (NEILB on 2015-10-17)</option>
<option
  
  value="NEILB/Module-Info-0.35_05"
>0.35_05 DEV
  (NEILB on 2015-10-16)</option>
<option
  
  value="NEILB/Module-Info-0.35_04"
>0.35_04 DEV
  (NEILB on 2015-10-14)</option>
<option
  
  value="NEILB/Module-Info-0.35_03"
>0.35_03 DEV
  (NEILB on 2015-10-13)</option>
<option
  
  value="NEILB/Module-Info-0.35_02"
>0.35_02 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="NEILB/Module-Info-0.35_01"
>0.35_01 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="MBARBON/Module-Info-0.34"
>0.34
  (MBARBON on 2013-05-21)</option>
<option
  
  value="MBARBON/Module-Info-0.33"
>0.33
  (MBARBON on 2013-02-09)</option>
<option
  
  value="MBARBON/Module-Info-0.32"
>0.32
  (MBARBON on 2010-09-08)</option>
<option
  
  value="MBARBON/Module-Info-0.31_01"
>0.31_01 DEV
  (MBARBON on 2010-04-12)</option>
<option
  
  value="MBARBON/Module-Info-0.31"
>0.31
  (MBARBON on 2007-05-28)</option>
<option
  
  value="MBARBON/Module-Info-0.30"
>0.30
  (MBARBON on 2005-12-20)</option>
<option
  
  value="MBARBON/Module-Info-0.290"
>0.290
  (MBARBON on 2005-11-22)</option>
<option
  
  value="MBARBON/Module-Info-0.28_5"
>0.28_5 DEV
  (MBARBON on 2005-07-10)</option>
<option
  
  value="MBARBON/Module-Info-0.28"
>0.28
  (MBARBON on 2005-04-18)</option>
<option
  
  value="MBARBON/Module-Info-0.27"
>0.27
  (MBARBON on 2005-03-04)</option>
<option
  
  value="MBARBON/Module-Info-0.26"
>0.26
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.25"
>0.25
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.24"
>0.24
  (MBARBON on 2003-10-01)</option>
<option
  
  value="MBARBON/Module-Info-0.23"
>0.23
  (MBARBON on 2003-09-04)</option>
<option
  
  value="MBARBON/Module-Info-0.22"
>0.22
  (MBARBON on 2003-08-18)</option>
<option
  
  value="MBARBON/Module-Info-0.21"
>0.21
  (MBARBON on 2003-08-15)</option>
<option
  
  value="MBARBON/Module-Info-0.20"
>0.20
  (MBARBON on 2003-05-22)</option>
<option
  
  value="MBARBON/Module-Info-0.19"
>0.19
  (MBARBON on 2003-04-01)</option>
<option
  
  value="MBARBON/Module-Info-0.18"
>0.18
  (MBARBON on 2003-03-08)</option>
<option
  
  value="MBARBON/Module-Info-0.17"
>0.17
  (MBARBON on 2003-03-02)</option>
<option
  
  value="MBARBON/Module-Info-0.16"
>0.16
  (MBARBON on 2003-01-03)</option>
<option
  
  value="MBARBON/Module-Info-0.15"
>0.15
  (MBARBON on 2002-12-23)</option>
<option
  
  value="MBARBON/Module-Info-0.14"
>0.14
  (MBARBON on 2002-12-08)</option>
<option
  
  value="MBARBON/Module-Info-0.13"
>0.13
  (MBARBON on 2002-12-07)</option>
<option
  
  value="MSCHWERN/Module-Info-0.12"
>0.12
  (MSCHWERN on 2002-02-03)</option>
<option
  
  value="MSCHWERN/Module-Info-0.11"
>0.11
  (MSCHWERN on 2002-02-02)</option>
<option
  
  value="MSCHWERN/Module-Info-0.10"
>0.10
  (MSCHWERN on 2001-12-12)</option>
<option
  
  value="MSCHWERN/Module-Info-0.09"
>0.09
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.08"
>0.08
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.07"
>0.07
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.06"
>0.06
  (MSCHWERN on 2001-11-25)</option>
<option
  
  value="MSCHWERN/Module-Info-0.05"
>0.05
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.04"
>0.04
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.03"
>0.03
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.02"
>0.02
  (MSCHWERN on 2001-11-22)</option>
<option
  
  value="MSCHWERN/Module-Info-0.01"
>0.01
  (MSCHWERN on 2001-11-22)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/NEILB/Module-Info-0.37/diff/' + encodeURIComponent(this.value) + '/lib/Module/Info.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="NEILB/Module-Info-0.37"
>0.37
  (NEILB on 2015-11-01)</option>
<option
  
  value="MBARBON/Module-Info-0.35"
>0.35
  (MBARBON on 2013-09-08)</option>
<optgroup label="BackPAN">'
<option
  
  value="NEILB/Module-Info-0.36"
>0.36
  (NEILB on 2015-10-23)</option>
<option
  
  value="NEILB/Module-Info-0.35_07"
>0.35_07 DEV
  (NEILB on 2015-10-19)</option>
<option
  
  value="NEILB/Module-Info-0.35_06"
>0.35_06 DEV
  (NEILB on 2015-10-17)</option>
<option
  
  value="NEILB/Module-Info-0.35_05"
>0.35_05 DEV
  (NEILB on 2015-10-16)</option>
<option
  
  value="NEILB/Module-Info-0.35_04"
>0.35_04 DEV
  (NEILB on 2015-10-14)</option>
<option
  
  value="NEILB/Module-Info-0.35_03"
>0.35_03 DEV
  (NEILB on 2015-10-13)</option>
<option
  
  value="NEILB/Module-Info-0.35_02"
>0.35_02 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="NEILB/Module-Info-0.35_01"
>0.35_01 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="MBARBON/Module-Info-0.34"
>0.34
  (MBARBON on 2013-05-21)</option>
<option
  
  value="MBARBON/Module-Info-0.33"
>0.33
  (MBARBON on 2013-02-09)</option>
<option
  
  value="MBARBON/Module-Info-0.32"
>0.32
  (MBARBON on 2010-09-08)</option>
<option
  
  value="MBARBON/Module-Info-0.31_01"
>0.31_01 DEV
  (MBARBON on 2010-04-12)</option>
<option
  
  value="MBARBON/Module-Info-0.31"
>0.31
  (MBARBON on 2007-05-28)</option>
<option
  
  value="MBARBON/Module-Info-0.30"
>0.30
  (MBARBON on 2005-12-20)</option>
<option
  
  value="MBARBON/Module-Info-0.290"
>0.290
  (MBARBON on 2005-11-22)</option>
<option
  
  value="MBARBON/Module-Info-0.28_5"
>0.28_5 DEV
  (MBARBON on 2005-07-10)</option>
<option
  
  value="MBARBON/Module-Info-0.28"
>0.28
  (MBARBON on 2005-04-18)</option>
<option
  
  value="MBARBON/Module-Info-0.27"
>0.27
  (MBARBON on 2005-03-04)</option>
<option
  
  value="MBARBON/Module-Info-0.26"
>0.26
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.25"
>0.25
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.24"
>0.24
  (MBARBON on 2003-10-01)</option>
<option
  
  value="MBARBON/Module-Info-0.23"
>0.23
  (MBARBON on 2003-09-04)</option>
<option
  
  value="MBARBON/Module-Info-0.22"
>0.22
  (MBARBON on 2003-08-18)</option>
<option
  
  value="MBARBON/Module-Info-0.21"
>0.21
  (MBARBON on 2003-08-15)</option>
<option
  
  value="MBARBON/Module-Info-0.20"
>0.20
  (MBARBON on 2003-05-22)</option>
<option
  
  value="MBARBON/Module-Info-0.19"
>0.19
  (MBARBON on 2003-04-01)</option>
<option
  
  value="MBARBON/Module-Info-0.18"
>0.18
  (MBARBON on 2003-03-08)</option>
<option
  
  value="MBARBON/Module-Info-0.17"
>0.17
  (MBARBON on 2003-03-02)</option>
<option
  
  value="MBARBON/Module-Info-0.16"
>0.16
  (MBARBON on 2003-01-03)</option>
<option
  
  value="MBARBON/Module-Info-0.15"
>0.15
  (MBARBON on 2002-12-23)</option>
<option
  
  value="MBARBON/Module-Info-0.14"
>0.14
  (MBARBON on 2002-12-08)</option>
<option
  
  value="MBARBON/Module-Info-0.13"
>0.13
  (MBARBON on 2002-12-07)</option>
<option
  
  value="MSCHWERN/Module-Info-0.12"
>0.12
  (MSCHWERN on 2002-02-03)</option>
<option
  
  value="MSCHWERN/Module-Info-0.11"
>0.11
  (MSCHWERN on 2002-02-02)</option>
<option
  
  value="MSCHWERN/Module-Info-0.10"
>0.10
  (MSCHWERN on 2001-12-12)</option>
<option
  
  value="MSCHWERN/Module-Info-0.09"
>0.09
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.08"
>0.08
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.07"
>0.07
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.06"
>0.06
  (MSCHWERN on 2001-11-25)</option>
<option
  
  value="MSCHWERN/Module-Info-0.05"
>0.05
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.04"
>0.04
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.03"
>0.03
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.02"
>0.02
  (MSCHWERN on 2001-11-22)</option>
<option
  
  value="MSCHWERN/Module-Info-0.01"
>0.01
  (MSCHWERN on 2001-11-22)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/B" title="B" class="ellipsis">B</a></li>
  <li><a href="./B::Utils.html" title="B::Utils" class="ellipsis">B::Utils</a></li>
  <li><a href="https://metacpan.org/pod/Carp" title="Carp" class="ellipsis">Carp</a></li>
  <li><a href="https://metacpan.org/pod/File::Spec" title="File::Spec" class="ellipsis">File::Spec</a></li>
  <li><a href="https://metacpan.org/pod/strict" title="strict" class="ellipsis">strict</a></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Module::Info/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Module%3A%3AInfo">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Module-Info">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/NEILB/Module-Info-0.37/view/lib/Module/Info.pm">This version</a>
    </li>
    <li>
      <a href="./Module::Info.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/PAVELSR"><img src="https://www.gravatar.com/avatar/bdd3233525e2a6ca61bbc05752111c15?d=identicon&amp;s=20" title="PAVELSR" alt="PAVELSR"></a>
<a class="display-all" href="https://metacpan.org/author/PERLANCAR"><img src="https://www.gravatar.com/avatar/c66c9e215cc2342796cd87ca82d044a8?d=identicon&amp;s=20" title="PERLANCAR" alt="PERLANCAR"></a>
<a class="display-all" href="https://metacpan.org/author/RWSTAUNER"><img src="https://www.gravatar.com/avatar/e9fda58e2eaefecacfff42aaebcf9b9e?d=identicon&amp;s=20" title="RWSTAUNER" alt="RWSTAUNER"></a>
<a class="display-all" href="https://metacpan.org/author/IONCACHE"><img src="https://www.gravatar.com/avatar/89104535cbfebfedb5390bc808dce407?d=identicon&amp;s=20" title="IONCACHE" alt="IONCACHE"></a>
<a class="display-all" href="https://metacpan.org/author/JONASBN"><img src="https://www.gravatar.com/avatar/1b053b414cecd279ef44423c75b3d227?d=identicon&amp;s=20" title="JONASBN" alt="JONASBN"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Module-Info/plussers">5 PAUSE users</a>
</div>
<div>
    1 non-PAUSE user
</div>
</div>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 1 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
      data-cpan-author="MBARBON"
      data-contrib-email="mbarbon@cpan.org"
    >
      <a href="https://metacpan.org/author/MBARBON" class="cpan-author">
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/c8d923587e98e5a6b4e6ca6fdd281a1a?d=identicon&amp;s=20" />
      Mattia Barbon
      </a>
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/NEILB" class="author-name">Neil Bowers</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Module/Info.pm&#39;" class="">
<option
  selected
  value="NEILB/Module-Info-0.37"
>0.37
  (NEILB on 2015-11-01)</option>
<option
  
  value="MBARBON/Module-Info-0.35"
>0.35
  (MBARBON on 2013-09-08)</option>
<optgroup label="BackPAN">'
<option
  
  value="NEILB/Module-Info-0.36"
>0.36
  (NEILB on 2015-10-23)</option>
<option
  
  value="NEILB/Module-Info-0.35_07"
>0.35_07 DEV
  (NEILB on 2015-10-19)</option>
<option
  
  value="NEILB/Module-Info-0.35_06"
>0.35_06 DEV
  (NEILB on 2015-10-17)</option>
<option
  
  value="NEILB/Module-Info-0.35_05"
>0.35_05 DEV
  (NEILB on 2015-10-16)</option>
<option
  
  value="NEILB/Module-Info-0.35_04"
>0.35_04 DEV
  (NEILB on 2015-10-14)</option>
<option
  
  value="NEILB/Module-Info-0.35_03"
>0.35_03 DEV
  (NEILB on 2015-10-13)</option>
<option
  
  value="NEILB/Module-Info-0.35_02"
>0.35_02 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="NEILB/Module-Info-0.35_01"
>0.35_01 DEV
  (NEILB on 2015-06-15)</option>
<option
  
  value="MBARBON/Module-Info-0.34"
>0.34
  (MBARBON on 2013-05-21)</option>
<option
  
  value="MBARBON/Module-Info-0.33"
>0.33
  (MBARBON on 2013-02-09)</option>
<option
  
  value="MBARBON/Module-Info-0.32"
>0.32
  (MBARBON on 2010-09-08)</option>
<option
  
  value="MBARBON/Module-Info-0.31_01"
>0.31_01 DEV
  (MBARBON on 2010-04-12)</option>
<option
  
  value="MBARBON/Module-Info-0.31"
>0.31
  (MBARBON on 2007-05-28)</option>
<option
  
  value="MBARBON/Module-Info-0.30"
>0.30
  (MBARBON on 2005-12-20)</option>
<option
  
  value="MBARBON/Module-Info-0.290"
>0.290
  (MBARBON on 2005-11-22)</option>
<option
  
  value="MBARBON/Module-Info-0.28_5"
>0.28_5 DEV
  (MBARBON on 2005-07-10)</option>
<option
  
  value="MBARBON/Module-Info-0.28"
>0.28
  (MBARBON on 2005-04-18)</option>
<option
  
  value="MBARBON/Module-Info-0.27"
>0.27
  (MBARBON on 2005-03-04)</option>
<option
  
  value="MBARBON/Module-Info-0.26"
>0.26
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.25"
>0.25
  (MBARBON on 2004-07-11)</option>
<option
  
  value="MBARBON/Module-Info-0.24"
>0.24
  (MBARBON on 2003-10-01)</option>
<option
  
  value="MBARBON/Module-Info-0.23"
>0.23
  (MBARBON on 2003-09-04)</option>
<option
  
  value="MBARBON/Module-Info-0.22"
>0.22
  (MBARBON on 2003-08-18)</option>
<option
  
  value="MBARBON/Module-Info-0.21"
>0.21
  (MBARBON on 2003-08-15)</option>
<option
  
  value="MBARBON/Module-Info-0.20"
>0.20
  (MBARBON on 2003-05-22)</option>
<option
  
  value="MBARBON/Module-Info-0.19"
>0.19
  (MBARBON on 2003-04-01)</option>
<option
  
  value="MBARBON/Module-Info-0.18"
>0.18
  (MBARBON on 2003-03-08)</option>
<option
  
  value="MBARBON/Module-Info-0.17"
>0.17
  (MBARBON on 2003-03-02)</option>
<option
  
  value="MBARBON/Module-Info-0.16"
>0.16
  (MBARBON on 2003-01-03)</option>
<option
  
  value="MBARBON/Module-Info-0.15"
>0.15
  (MBARBON on 2002-12-23)</option>
<option
  
  value="MBARBON/Module-Info-0.14"
>0.14
  (MBARBON on 2002-12-08)</option>
<option
  
  value="MBARBON/Module-Info-0.13"
>0.13
  (MBARBON on 2002-12-07)</option>
<option
  
  value="MSCHWERN/Module-Info-0.12"
>0.12
  (MSCHWERN on 2002-02-03)</option>
<option
  
  value="MSCHWERN/Module-Info-0.11"
>0.11
  (MSCHWERN on 2002-02-02)</option>
<option
  
  value="MSCHWERN/Module-Info-0.10"
>0.10
  (MSCHWERN on 2001-12-12)</option>
<option
  
  value="MSCHWERN/Module-Info-0.09"
>0.09
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.08"
>0.08
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.07"
>0.07
  (MSCHWERN on 2001-12-11)</option>
<option
  
  value="MSCHWERN/Module-Info-0.06"
>0.06
  (MSCHWERN on 2001-11-25)</option>
<option
  
  value="MSCHWERN/Module-Info-0.05"
>0.05
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.04"
>0.04
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.03"
>0.03
  (MSCHWERN on 2001-11-23)</option>
<option
  
  value="MSCHWERN/Module-Info-0.02"
>0.02
  (MSCHWERN on 2001-11-22)</option>
<option
  
  value="MSCHWERN/Module-Info-0.01"
>0.01
  (MSCHWERN on 2001-11-22)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Module-Info">Module-Info-0.37</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage three &#10;
          • 18 direct dependents &#10;          • 111 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Module-Info-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Module-Info-0.37">
    <input type="hidden" name="author" value="NEILB">
    <input type="hidden" name="distribution" value="Module-Info">
    <button type="submit" class="favorite highlight"><span>6</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Module::Info.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>6</span> ++</a>
</div>
   / <span>Module::Info</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Module::Info.html#NAME">NAME</a></li>
  <li><a href="./Module::Info.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./Module::Info.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./Module::Info.html#METHODS">METHODS</a>
    <ul>
      <li><a href="./Module::Info.html#Constructors">Constructors</a></li>
      <li><a href="./Module::Info.html#Information-without-loading">Information without loading</a></li>
      <li><a href="./Module::Info.html#Information-that-requires-loading.">Information that requires loading.</a></li>
      <li><a href="./Module::Info.html#Information-about-Unpredictable-Constructs">Information about Unpredictable Constructs</a></li>
      <li><a href="./Module::Info.html#Options">Options</a></li>
    </ul>
  </li>
  <li><a href="./Module::Info.html#REPOSITORY">REPOSITORY</a></li>
  <li><a href="./Module::Info.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./Module::Info.html#LICENSE">LICENSE</a></li>
  <li><a href="./Module::Info.html#THANKS">THANKS</a></li>
  <li><a href="./Module::Info.html#CAVEATS">CAVEATS</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Module::Info - Information about Perl modules</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>  use Module::Info;

  my $mod = Module::Info-&gt;new_from_file(&#39;Some/Module.pm&#39;);
  my $mod = Module::Info-&gt;new_from_module(&#39;Some::Module&#39;);
  my $mod = Module::Info-&gt;new_from_loaded(&#39;Some::Module&#39;);

  my @mods = Module::Info-&gt;all_installed(&#39;Some::Module&#39;);

  my $name    = $mod-&gt;name;
  my $version = $mod-&gt;version;
  my $dir     = $mod-&gt;inc_dir;
  my $file    = $mod-&gt;file;
  my $is_core = $mod-&gt;is_core;

  # Only available in perl 5.6.1 and up.
  # These do compile the module.
  my @packages = $mod-&gt;packages_inside;
  my @used     = $mod-&gt;modules_used;
  my @subs     = $mod-&gt;subroutines;
  my @isa      = $mod-&gt;superclasses;
  my @calls    = $mod-&gt;subroutines_called;

  # Check for constructs which make perl hard to predict.
  my @methods   = $mod-&gt;dynamic_method_calls;
  my @lines     = $mod-&gt;eval_string;    *UNIMPLEMENTED*
  my @lines     = $mod-&gt;gotos;          *UNIMPLEMENTED*
  my @controls  = $mod-&gt;exit_via_loop_control;      *UNIMPLEMENTED*
  my @unpredictables = $mod-&gt;has_unpredictables;    *UNIMPLEMENTED*

  # set/get Module::Info options
  $self-&gt;die_on_compilation_error(1);
  my $die_on_error = $mod-&gt;die_on_compilation_error;
  $self-&gt;safe(1);
  my $safe = $mod-&gt;safe;</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>Module::Info gives you information about Perl modules <b>without actually loading the module</b>. It actually isn&#39;t specific to modules and should work on any perl code.</p>

<h1 id="METHODS">METHODS</h1>

<h2 id="Constructors">Constructors</h2>

<p>There are a few ways to specify which module you want information for. They all return Module::Info objects.</p>

<dl>

<dt id="new_from_file">new_from_file</dt>
<dd>

<pre><code>  my $module = Module::Info-&gt;new_from_file(&#39;path/to/Some/Module.pm&#39;);</code></pre>

<p>Given a file, it will interpret this as the module you want information about. You can also hand it a perl script.</p>

<p>If the file doesn&#39;t exist or isn&#39;t readable it will return false.</p>

</dd>
<dt id="new_from_module">new_from_module</dt>
<dd>

<pre><code>  my $module = Module::Info-&gt;new_from_module(&#39;Some::Module&#39;);
  my $module = Module::Info-&gt;new_from_module(&#39;Some::Module&#39;, @INC);</code></pre>

<p>Given a module name, @INC will be searched and the first module found used. This is the same module that would be loaded if you just say <code>use Some::Module</code>.</p>

<p>If you give your own @INC, that will be used to search instead.</p>

</dd>
<dt id="new_from_loaded">new_from_loaded</dt>
<dd>

<pre><code>  my $module = Module::Info-&gt;new_from_loaded(&#39;Some::Module&#39;);</code></pre>

<p>Gets information about the currently loaded version of Some::Module. If it isn&#39;t loaded, returns false.</p>

</dd>
<dt id="all_installed">all_installed</dt>
<dd>

<pre><code>  my @modules = Module::Info-&gt;all_installed(&#39;Some::Module&#39;);
  my @modules = Module::Info-&gt;all_installed(&#39;Some::Module&#39;, @INC);</code></pre>

<p>Like new_from_module(), except <i>all</i> modules in @INC will be returned, in the order they are found. Thus $modules[0] is the one that would be loaded by <code>use Some::Module</code>.</p>

</dd>
</dl>

<h2 id="Information-without-loading"><a id="Information"></a>Information without loading</h2>

<p>The following methods get their information without actually compiling the module.</p>

<dl>

<dt id="name"><b>name</b></dt>
<dd>

<pre><code>  my $name = $module-&gt;name;
  $module-&gt;name($name);</code></pre>

<p>Name of the module (ie. Some::Module).</p>

<p>Module loaded using new_from_file() won&#39;t have this information in which case you can set it yourself.</p>

</dd>
<dt id="version"><b>version</b></dt>
<dd>

<pre><code>  my $version = $module-&gt;version;</code></pre>

<p>Divines the value of $VERSION. This uses the same method as ExtUtils::MakeMaker and all caveats therein apply.</p>

</dd>
<dt id="inc_dir"><b>inc_dir</b></dt>
<dd>

<pre><code>  my $dir = $module-&gt;inc_dir;</code></pre>

<p>Include directory in which this module was found. Module::Info objects created with new_from_file() won&#39;t have this info.</p>

</dd>
<dt id="file"><b>file</b></dt>
<dd>

<pre><code>  my $file = $module-&gt;file;</code></pre>

<p>The absolute path to this module.</p>

</dd>
<dt id="is_core"><b>is_core</b></dt>
<dd>

<pre><code>  my $is_core = $module-&gt;is_core;</code></pre>

<p>Checks if this module is the one distributed with Perl.</p>

<p><b>NOTE</b> This goes by what directory it&#39;s in. It&#39;s possible that the module has been altered or upgraded from CPAN since the original Perl installation.</p>

</dd>
<dt id="has_pod"><b>has_pod</b></dt>
<dd>

<pre><code>    my $has_pod = $module-&gt;has_pod;</code></pre>

<p>Returns the location of the module&#39;s pod, which can be the module file itself, if the POD is inlined, the associated POD file, or nothing if there is no POD at all.</p>

</dd>
</dl>

<h2 id="Information-that-requires-loading."><a id="Information1"></a><a id="Information-that-requires-loading"></a>Information that requires loading.</h2>

<p><b>WARNING!</b> From here down reliability drops rapidly!</p>

<p>The following methods get their information by compiling the module and examining the opcode tree. The module will be compiled in a separate process so as not to disturb the current program.</p>

<p>They will only work on 5.6.1 and up and requires the B::Utils module.</p>

<dl>

<dt id="packages_inside"><b>packages_inside</b></dt>
<dd>

<pre><code>  my @packages = $module-&gt;packages_inside;</code></pre>

<p>Looks for any explicit <code>package</code> declarations inside the module and returns a list. Useful for finding hidden classes and functionality (like Tie::StdHandle inside Tie::Handle).</p>

<p><b>KNOWN BUG</b> Currently doesn&#39;t spot package changes inside subroutines.</p>

</dd>
<dt id="package_versions"><b>package_versions</b></dt>
<dd>

<pre><code>  my %versions = $module-&gt;package_versions;</code></pre>

<p>Returns a hash whose keys are the packages contained in the module (these are the same as what&#39;s returned by <code>packages_inside()</code>), and whose values are the versions of those packages.</p>

</dd>
<dt id="modules_used"><b>modules_used</b></dt>
<dd>

<pre><code>  my @used = $module-&gt;modules_used;</code></pre>

<p>Returns a list of all modules and files which may be <code>use</code>&#39;d or <code>require</code>&#39;d by this module.</p>

<p><b>NOTE</b> These modules may be conditionally loaded, can&#39;t tell. Also can&#39;t find modules which might be used inside an <code>eval</code>.</p>

</dd>
<dt id="modules_required"><b>modules_required</b></dt>
<dd>

<pre><code>  my %required = $module-&gt;modules_required;</code></pre>

<p>Returns a list of all modules and files which may be <code>use</code>&#39;d or <code>require</code>&#39;d by this module, together with the minimum required version.</p>

<p>The hash is keyed on the module/file name, the corrisponding value is an array reference containing the requied versions, or an empty array if no specific version was required.</p>

<p><b>NOTE</b> These modules may be conditionally loaded, can&#39;t tell. Also can&#39;t find modules which might be used inside an <code>eval</code>.</p>

</dd>
<dt id="subroutines"><b>subroutines</b></dt>
<dd>

<pre><code>  my %subs = $module-&gt;subroutines;</code></pre>

<p>Returns a hash of all subroutines defined inside this module and some info about it. The key is the *full* name of the subroutine (ie. $subs{&#39;Some::Module::foo&#39;} rather than just $subs{&#39;foo&#39;}), value is a hash ref with information about the subroutine like so:</p>

<pre><code>    start   =&gt; line number of the first statement in the subroutine
    end     =&gt; line number of the last statement in the subroutine</code></pre>

<p>Note that the line numbers may not be entirely accurate and will change as perl&#39;s backend compiler improves. They typically correspond to the first and last <i>run-time</i> statements in a subroutine. For example:</p>

<pre><code>    sub foo {
        package Wibble;
        $foo = &quot;bar&quot;;
        return $foo;
    }</code></pre>

<p>Taking <code>sub foo {</code> as line 1, Module::Info will report line 3 as the start and line 4 as the end. <code>package Wibble;</code> is a compile-time statement. Again, this will change as perl changes.</p>

<p>Note this only catches simple <code>sub foo {...}</code> subroutine declarations. Anonymous, autoloaded or eval&#39;d subroutines are not listed.</p>

</dd>
<dt id="superclasses"><b>superclasses</b></dt>
<dd>

<pre><code>  my @isa = $module-&gt;superclasses;</code></pre>

<p>Returns the value of @ISA for this $module. Requires that $module-&gt;name be set to work.</p>

<p><b>NOTE</b> superclasses() is currently cheating. See <a href="https://metacpan.org/pod/CAVEATS">CAVEATS</a> below.</p>

</dd>
<dt id="subroutines_called"><b>subroutines_called</b></dt>
<dd>

<pre><code>  my @calls = $module-&gt;subroutines_called;</code></pre>

<p>Finds all the methods and functions which are called inside the $module.</p>

<p>Returns a list of hashes. Each hash represents a single function or method call and has the keys:</p>

<pre><code>    line        line number where this call originated
    class       class called on if its a class method
    type        function, symbolic function, object method, 
                class method, dynamic object method or 
                dynamic class method.
                (NOTE  This format will probably change)
    name        name of the function/method called if not dynamic</code></pre>

</dd>
</dl>

<h2 id="Information-about-Unpredictable-Constructs"><a id="Information2"></a>Information about Unpredictable Constructs</h2>

<p>Unpredictable constructs are things that make a Perl program hard to predict what its going to do without actually running it. There&#39;s nothing wrong with these constructs, but its nice to know where they are when maintaining a piece of code.</p>

<dl>

<dt id="dynamic_method_calls"><b>dynamic_method_calls</b></dt>
<dd>

<pre><code>  my @methods = $module-&gt;dynamic_method_calls;</code></pre>

<p>Returns a list of dynamic method calls (ie. <code>$obj-</code>$method()&gt;) used by the $module. @methods has the same format as the return value of subroutines_called().</p>

</dd>
</dl>

<h2 id="Options">Options</h2>

<p>The following methods get/set specific option values for the Module::Info object.</p>

<dl>

<dt id="die_on_compilation_error"><b>die_on_compilation_error</b></dt>
<dd>

<pre><code>  $module-&gt;die_on_compilation_error(0); # default
  $module-&gt;die_on_compilation_error(1);
  my $flag = $module-&gt;die_on_compilation_error;</code></pre>

<p>Sets/gets the &quot;die on compilation error&quot; flag. When the flag is off (default), and a module fails to compile, Module::Info simply emits a watning and continues. When the flag is on and a module fails to compile, Module::Info <code>die()</code>s with the same error message it would use in the warning.</p>

</dd>
<dt id="safe"><b>safe</b></dt>
<dd>

<pre><code>  $module-&gt;safe(0); # default
  $module-&gt;safe(1); # be safer
  my $flag = $module-&gt;safe;</code></pre>

<p>Sets/gets the &quot;safe&quot; flag. When the flag is enabled all operations requiring module compilation are forbidden and the <code>version()</code> method executes its code in a <code>Safe</code> compartment.</p>

</dd>
<dt id="use_version"><b>use_version</b></dt>
<dd>

<pre><code>  $module-&gt;use_version(0); # do not use version.pm (default)
  $module-&gt;use_version(1); # use version.pm, die if not present
  my $flag = $module-&gt;use_version;</code></pre>

<p>Sets/gets the &quot;use_version&quot; flag. When the flag is enabled the &#39;version&#39; method always returns a version object.</p>

</dd>
</dl>

<h1 id="REPOSITORY">REPOSITORY</h1>

<p><a href="https://github.com/neilb/Module-Info">https://github.com/neilb/Module-Info</a></p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Michael G Schwern &lt;schwern@pobox.com&gt; with code from ExtUtils::MM_Unix, Module::InstalledVersion and lots of cargo-culting from B::Deparse.</p>

<p>Mattia Barbon &lt;mbarbon@cpan.org&gt; maintained the module from 2002 to 2013.</p>

<p>Neil Bowers &lt;neilb@cpan.org&gt; is the current maintainer.</p>

<h1 id="LICENSE">LICENSE</h1>

<p>This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p>

<h1 id="THANKS">THANKS</h1>

<p>Many thanks to Simon Cozens and Robin Houston for letting me chew their ears about B.</p>

<h1 id="CAVEATS">CAVEATS</h1>

<p>Code refs in @INC are currently ignored. If this bothers you submit a patch.</p>

<p>superclasses() is cheating and just loading the module in a separate process and looking at @ISA. I don&#39;t think its worth the trouble to go through and parse the opcode tree as it still requires loading the module and running all the BEGIN blocks. Patches welcome.</p>

<p>I originally was going to call superclasses() isa() but then I remembered that would be bad.</p>

<p>All the methods that require loading are really inefficient as they&#39;re not caching anything. I&#39;ll worry about efficiency later.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Module::Info, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Module::Info</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Module::Info</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Module::Info.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
